<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>华中师范大学附属孝感幼儿园网上招生系统</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <link rel="stylesheet" href="__ROOT__/Public/adminlte/bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="__ROOT__/Public/adminlte/dist/css/AdminLTE.min.css">
  <!-- bootstrap datepicker -->
  <link rel="stylesheet" href="__ROOT__/Public/adminlte/plugins/datepicker/datepicker3.css">

  <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
        page. However, you can choose any other skin. Make sure you
        apply the skin class to the body tag so the changes take effect.
  -->
  <link rel="stylesheet" href="__ROOT__/Public/adminlte/dist/css/skins/skin-blue.min.css">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>

<include file="./Application/Home/View/adminlte/wrap.html" siderid="2" />

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper" id="mcont">

    <!-- Main content -->
    <section class="content">

      <!-- Your Page Content Here -->
	<div class="col-md-6">
          <!-- Horizontal Form -->
          <div class="box box-info">
            <div class="box-header with-border">
              <h3 class="box-title">修改学生</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" method="post" action="__CONTROLLER__/updatestu">
              <div class="box-body">
				<input type="hidden" name="id" value="{$data.id}" />
                <div class="form-group">
                  <label for="inputname" class="col-sm-2 control-label">姓名</label>
				  <div class="col-sm-10">
                    <input type="text" class="form-control" name="name" id="inputname" value="{$data.name}">
                  </div>
                </div>
                
				<div class="form-group">
                  <label class="col-sm-2 control-label">性别</label>
                  <div class="col-sm-10">
						<input type="radio" name="sex" id="radiosex1" class="minimal" value='男' <if condition="$data.sex == '男'">checked</if> />
					<label for="radiosex1">&nbsp;男</label>&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="radio" name="sex" id="radiosex2" class="minimal-red" value='女' <if condition="$data.sex == '女'">checked</if> />
					<label for="radiosex2">&nbsp;女</label>
                  </div>
                </div>

				<div class="form-group">
                  <label for="datepicker" class="col-sm-2 control-label">出生日期</label>
                  <div class="col-sm-10">
                    <div class="input-group date">
					  <div class="input-group-addon">
						<i class="fa fa-calendar"></i>
					  </div>
					  <input type="text" name="birthday" class="form-control pull-right" id="datepicker" value="{$data.birthday}">
					</div>
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputzkid" class="col-sm-2 control-label">预报班级</label>
                  <div class="col-sm-10">
						<select class="form-control" name="class">
						  <option value="小班" <if condition="$data.class == '小班'">selected="selected"</if>>小班</option>
						  <option value="中班" <if condition="$data.class == '中班'">selected="selected"</if>>中班</option>
						  <option value="大班" <if condition="$data.class == '大班'">selected="selected"</if>>大班</option>
					</select>
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputpname" class="col-sm-2 control-label">父母姓名</label>
				  <div class="col-sm-10">
                    <input type="text" class="form-control" name="parentname" id="inputpname" value="{$data.parentname}">
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputtel" class="col-sm-2 control-label">手机号</label>
				  <div class="col-sm-10">
                    <input type="text" class="form-control" name="telephone" id="inputtel" value="{$data.telephone}">
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputwork" class="col-sm-2 control-label">工作单位</label>
				  <div class="col-sm-10">
                    <input type="text" class="form-control" name="workplace" id="inputwork" value="{$data.workplace}">
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputadd" class="col-sm-2 control-label">家庭地址</label>
				  <div class="col-sm-10">
                    <input type="text" class="form-control" name="address" id="inputadd" value="{$data.address}">
                  </div>
                </div>

              </div>
              <!-- /.box-body -->
              <div class="box-footer">

                <button type="button" class="btn btn-default" onclick="window.history.go(-1);">不理返回</button>
                <button type="submit" class="btn btn-info pull-right">确定修改</button>

              </div>
              <!-- /.box-footer -->
            </form>
          </div>
          <!-- /.box -->
 
        </div>




    </section>
    <!-- /.content -->

    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  
</div>
<!-- ./wrapper -->

<!-- REQUIRED JS SCRIPTS -->

<!-- jQuery 2.2.3 -->
<script src="__ROOT__/Public/adminlte/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="__ROOT__/Public/adminlte/bootstrap/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="__ROOT__/Public/adminlte/dist/js/app.js"></script>
<!-- bootstrap datepicker -->
<script src="__ROOT__/Public/adminlte/plugins/datepicker/bootstrap-datepicker.js"></script>

<script type="text/javascript">
<!--

	$(function(){
		//Date picker
		$('#datepicker').datepicker({
			format: 'yyyy-mm-dd',
			autoclose: true
		});
	});
//-->
</script>
</body>
</html>
